﻿using B.S.BaseData.ErrorCode;
using B.S.Passport.ErrorCode;
using MediatR;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;

namespace B.S.BaseData.Manage.Api.With.Apliaction.Command.InventoryCommand
{
    /// <summary>
    /// 新增加入库
    /// </summary>
    public class StoreAddCommand:IRequest<ApiReqult<object>>
    {
        
        /// <summary>
        /// 产品ID（外键）
        /// </summary>
        public List<int>? Pid { get; set; }
        /// <summary>
        /// 入库订单号
        /// </summary>
        public List<string>? InboundNum { get; set; }
        /// <summary>
        /// 关联单号
        /// </summary>
        public List<string>? AssociatedNum { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public List<string>? Quantity { get; set; }
        /// <summary>
        /// 入库类型
        /// </summary>
        public List<ApiStorage>? Storage { get; set; } 
        /// 供应商
        /// </summary>
        public List<string>? Supplier { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public List<string>? SupplierID { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public List<string>? SupplierName { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public List<string>? SupplierPeople { get; set; } 
        /// <summary>
        /// 供应商联系方式
        /// </summary>
        public List<string>? SupplierPhone { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public List<string>? Creator { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public List<string>? Reviewer { get; set; } 
        /// <summary>
        /// 审核时间
        /// </summary>
        public List<DateTime>? OutAuditTime { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public List<ApiStatus>? OutAuditstatus { get; set; } 
        /// <summary>
        /// 制单时间
        /// </summary>
        public List<DateTime>? OutCreationTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public List<string>? Rember { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public List<string>? ProName { get; set; } 
        /// <summary>
        /// 产品编号
        /// </summary>
        public List<string>? ProId { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public List<string>? Specifications { get; set; } 
        /// <summary>
        /// 批次
        /// </summary>
        public List<string>? batch { get; set; } 
        /// <summary>
        /// 单价
        /// </summary>
        public List<string>? Unitprice { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public List<string>? UNumber { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public List<string>? Price { get; set; } 
        /// <summary>
        /// 库位
        /// </summary>
        public List<string>? Binlocation { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public List<int>? IsDelete { get; set; }
    }
}
